home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Presentations / Presentations ’97 / Sessions ’97 / Java for Macintosh Applications / JDK Native / TimeUtils.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-06-27  |  522 b   |  24 lines  |  [TEXT/Javr]

  1. #include <native.h>
  2.  
  3. /* header for class TimeUtils */
  4. #ifndef _Included_TimeUtils
  5. #define _Included_TimeUtils
  6. #ifdef __cplusplus
  7. extern "C" {
  8. #endif
  9. typedef struct ClassTimeUtils {
  10.     char pad[1];    /* Padding for ANSI C */
  11. } ClassTimeUtils;
  12.  
  13. HandleTo(TimeUtils);
  14.  
  15. extern long TimeUtils_GetRealTime(struct HTimeUtils*);
  16. extern long TimeUtils_GetRelativeTime(struct HTimeUtils*);
  17. extern struct Hjava_lang_String* TimeUtils_GetTimeString(struct HTimeUtils*, long);
  18. #ifdef __cplusplus
  19. }
  20. #endif
  21.  
  22. #endif /* _Included_TimeUtils */
  23.  
  24.